﻿using System;
using UnityEngine;

namespace Illusion.CustomAttributes
{
	// Token: 0x02000300 RID: 768
	[AttributeUsage(AttributeTargets.Field, Inherited = true, AllowMultiple = true)]
	public sealed class ButtonAttribute : PropertyAttribute
	{
		// Token: 0x060013A4 RID: 5028 RVA: 0x0008BF5C File Offset: 0x0008A15C
		public ButtonAttribute(string function, string name, params object[] parameters)
		{
			this.Function = function;
			this.Name = name;
			this.Parameters = parameters;
		}

		// Token: 0x170001D8 RID: 472
		// (get) Token: 0x060013A5 RID: 5029 RVA: 0x0008BF7C File Offset: 0x0008A17C
		// (set) Token: 0x060013A6 RID: 5030 RVA: 0x0008BF84 File Offset: 0x0008A184
		public string Function { get; private set; }

		// Token: 0x170001D9 RID: 473
		// (get) Token: 0x060013A7 RID: 5031 RVA: 0x0008BF90 File Offset: 0x0008A190
		// (set) Token: 0x060013A8 RID: 5032 RVA: 0x0008BF98 File Offset: 0x0008A198
		public string Name { get; private set; }

		// Token: 0x170001DA RID: 474
		// (get) Token: 0x060013A9 RID: 5033 RVA: 0x0008BFA4 File Offset: 0x0008A1A4
		// (set) Token: 0x060013AA RID: 5034 RVA: 0x0008BFAC File Offset: 0x0008A1AC
		public object[] Parameters { get; private set; }
	}
}
